package com.xcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xcm.dao.ProgramJsonMapper;
import com.xcm.model.TbProgramJson;
import com.xcm.service.ProgramJsonService;

/**
 * 节目JsonService实现类
 */
@Service(value = "programJsonService")
public class ProgramJsonServiceImpl implements ProgramJsonService {
	@Autowired
	private ProgramJsonMapper programJsonMapper;


	/**
	 * 通过xc版本获取节目Json
	 * getProgramJsonByXcVersion
	 *
	 * @param xcVersion xc版本号
	 * @return TbProgramJson
	 */
	@Override
	public TbProgramJson getProgramJsonByXcVersion(String xcVersion) {
		return programJsonMapper.getProgramJsonByXcVersion(xcVersion);
	}

}
